package com.topc.participant.model.dto;

import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class QueryUserDto {

    @NotNull
    private String number;

    @Min(-2)
    private Long roleId;

    @NotNull
    private String name;

}
